package com.windowes.weichang.dao;

import com.windowes.weichang.pojo.DemandCancleLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DemandCancleLogMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DemandCancleLog record);

    int insertSelective(DemandCancleLog record);

    DemandCancleLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DemandCancleLog record);

    int updateByPrimaryKey(DemandCancleLog record);

    int countByShopId(@Param("shopId") Integer shopId,
                      @Param("startTime") String startTime, @Param("endTime") String endTime);

    List<DemandCancleLog> selectByShopId(Integer shopId);
}